package com.blogSystem.admin.dao;

import com.blogSystem.admin.pojo.Admin;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface AdminDao extends JpaRepository<Admin,String>, JpaSpecificationExecutor<Admin> {
    public Admin findAdminByName(String name);
    public void deleteAdminsByIdIn(List<String> ids);
}
